﻿ using MODEL;
using SysHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SysController
{
    public static class SystemController
    {
        public static void Test()
        {
            SysHelper.OperateContext.CurrentContext.BllSession.IMaterial_BLL.GetListByWhere(s => s.IsDel == false);
            Material model = new Material();

            SysHelper.OperateContext.CurrentContext.BllSession.IMaterial_BLL.Modify(model, "IsDel", "CreateUser");
            SysHelper.OperateContext.CurrentContext.BllSession.SaveChanges(typeof(Material).ToString());


            SysHelper.OperateContext.CurrentContext.BllSession.IMaterial_BLL.ModifyIsNullADD(model, s => s.MaterialID == 11, true);
           // SysHelper.OperateContext.CurrentContext.BllSession.IMaterial_BLL.

        }
           
    }
}

















